//
//  ExaminationTitleDate.m
//  Arts1
//
//  Created by apple on 15/9/16.
//  Copyright (c) 2015年 Arts1. All rights reserved.
//

#import "ExaminationTitleDate.h"
#import "AllHeader.h"

@implementation ExaminationTitleDate

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame])
    {
//        [self addSubview:self.showDate];
    }
    return self;
}

- (UILabel *)showDate
{
    if (!_showDate)
    {
        self.showDate = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, 44)];
        _showDate.textAlignment = NSTextAlignmentCenter;
        _showDate.text = @"2015/09";
        [self addSubview:_showDate];
        
    }
    return _showDate;
}

@end
